package com.bytenerd.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author bytenerd
 */
@Getter
@AllArgsConstructor
public enum ResponseCode {
    //===================================通用 错误码=========================================================
    SUCCESS(200,"操作成功"),
    PARAMS_ERROR(400,"请求参数错误"),
    NOTE_LOGIN(401,"未登录"),
    PERMISSION_EXPIRATION(402,"登录过期"),
    NOT_AUTH_ERROR(403,"无访问权限");

    private final int code;

    private final String msg;

}
